package com.cy.device.model.dto;

import com.cy.device.model.Ac220;

import java.util.List;

/**
 * @author: jiangwang
 * @created: 2023/10/31 10:27
 */
public class CyCabinetDTO {
    private String orgNo;//机构号
    private String devNo;//设备编号
    private String devName;//设备名称
    private Integer volt;// 主电源电压，x10，单位V，从重合闸获取
    private Integer current;// 主电源电流，x10，单位A，从重合闸获取
    private Integer ardState;// 重合闸开启状态，0：断开，1：闭合
    private Integer vccState;// 从重合闸输入到控制器的供电，1：有电，0：无电。为0时控制器内置电池还可以维持一段时间
    private Integer batVolt;// 控制器内置电池电压，单位V，x10
    private Integer humi;// 湿度， x10，单位 ℃，可以为负值
    private Integer temp;// 温度，x10，单位 %RH，始终为正值
    private Integer door;// 0:关闭，1:打开，2:未知，3:故障
    private Integer backdoor;// 0:关闭，1:打开，其它:故障，如果没有后门，不上报此字段
    private Integer water;// 0:未进水，1:进水，其它:故障，如果没有配置，不上报此字段
    private Integer smoke;// 0:无烟，1:有烟，其它:故障，如果没有配置，不上报此字段
    private Integer fan;// 0: 关闭，1：打开
    private Integer light;// 0: 关闭，1：打开
    private Integer dc12_2;// 0: 关闭，1：打开
    private Integer dc12_3;// 0: 关闭，1：打开
    private List<Ac220> ac220;//仅可控输出

    public String getOrgNo() {
        return orgNo;
    }

    public void setOrgNo(String orgNo) {
        this.orgNo = orgNo;
    }

    public String getDevNo() {
        return devNo;
    }

    public void setDevNo(String devNo) {
        this.devNo = devNo;
    }

    public String getDevName() {
        return devName;
    }

    public void setDevName(String devName) {
        this.devName = devName;
    }

    public Integer getVolt() {
        return volt;
    }

    public void setVolt(Integer volt) {
        this.volt = volt;
    }

    public Integer getCurrent() {
        return current;
    }

    public void setCurrent(Integer current) {
        this.current = current;
    }

    public Integer getArdState() {
        return ardState;
    }

    public void setArdState(Integer ardState) {
        this.ardState = ardState;
    }

    public Integer getVccState() {
        return vccState;
    }

    public void setVccState(Integer vccState) {
        this.vccState = vccState;
    }

    public Integer getBatVolt() {
        return batVolt;
    }

    public void setBatVolt(Integer batVolt) {
        this.batVolt = batVolt;
    }

    public Integer getHumi() {
        return humi;
    }

    public void setHumi(Integer humi) {
        this.humi = humi;
    }

    public Integer getTemp() {
        return temp;
    }

    public void setTemp(Integer temp) {
        this.temp = temp;
    }

    public Integer getDoor() {
        return door;
    }

    public void setDoor(Integer door) {
        this.door = door;
    }

    public Integer getBackdoor() {
        return backdoor;
    }

    public void setBackdoor(Integer backdoor) {
        this.backdoor = backdoor;
    }

    public Integer getWater() {
        return water;
    }

    public void setWater(Integer water) {
        this.water = water;
    }

    public Integer getSmoke() {
        return smoke;
    }

    public void setSmoke(Integer smoke) {
        this.smoke = smoke;
    }

    public Integer getFan() {
        return fan;
    }

    public void setFan(Integer fan) {
        this.fan = fan;
    }

    public Integer getLight() {
        return light;
    }

    public void setLight(Integer light) {
        this.light = light;
    }

    public Integer getDc12_2() {
        return dc12_2;
    }

    public void setDc12_2(Integer dc12_2) {
        this.dc12_2 = dc12_2;
    }

    public Integer getDc12_3() {
        return dc12_3;
    }

    public void setDc12_3(Integer dc12_3) {
        this.dc12_3 = dc12_3;
    }

    public List<Ac220> getAc220() {
        return ac220;
    }

    public void setAc220(List<Ac220> ac220) {
        this.ac220 = ac220;
    }
}
